package com.tenton.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Date: 2021/1/2
 * @Author: Tenton
 * @Description: Supplier实体类
 */
@ApiModel(value = "供应商对象", description = "")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Supplier implements Serializable {
    @ApiModelProperty(value = "主键")
    private int id;
    @ApiModelProperty(value = "供应商公司名")
    private String supName;
    @ApiModelProperty(value = "电话")
    private String tel;
    @ApiModelProperty(value = "负责人")
    private String person;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    @ApiModelProperty(value = "修改人姓名")
    private String updateName;
    @ApiModelProperty(value = "修改日期")
    private Date updateTime;

    public Supplier(String supName, String tel, String person, String address, String email) {
        this.supName = supName;
        this.tel = tel;
        this.person = person;
        this.address = address;
        this.email = email;
    }
}